gtk: Stop using pixdata resources
authorMatthias Clasen <mclasen@redhat.com>
Wed, 18 Oct 2017 00:53:49 +0000 (08:53 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 18 Oct 2017 15:30:20 +0000 (17:30 +0200)
It does not really help, and pixdata is deprecated.

gtk/gen-gtk-gresources-xml.py

index dd5a8a20bd98bc287440a63bcaae6687ac83b810..aca3ad8ce742ee33dd0665032099303a1b3f0b0e 100644 (file)
@@ -24,7 +24,7 @@ xml += '''
 '''
 
 for f in get_files('theme/Adwaita/assets', '.png'):
-  xml += '    <file preprocess=\'to-pixdata\'>theme/Adwaita/assets/{0}</file>\n'.format(f)
+  xml += '    <file>theme/Adwaita/assets/{0}</file>\n'.format(f)
 
 xml += '\n'
 
@@ -39,7 +39,7 @@ xml += '''
 '''
 
 for f in get_files('theme/HighContrast/assets', '.png'):
-  xml += '    <file preprocess=\'to-pixdata\'>theme/HighContrast/assets/{0}</file>\n'.format(f)
+  xml += '    <file>theme/HighContrast/assets/{0}</file>\n'.format(f)
 
 xml += '\n'